package com.java.jvm.loader;

public class DefaultAppClassLoaderTests {
    public static void main(String[] args) throws ClassNotFoundException {
        //String baseDir="E:\\TCGBIV\\DEVCODES\\CGB2202CODES\\";
        String baseDir="E:\\TCGBIV\\DEVCODES\\CGB2202CODES\\01-java\\target\\classes\\";
        DefaultAppClassLoader loader=new DefaultAppClassLoader(baseDir);
        //Class<?> aClass = loader.loadClass("pkg.HelloJVM");
        Class<?> aClass = loader.loadClass("com.java.jvm.HelloJVM");
        System.out.println(aClass);
        System.out.println(aClass.getClassLoader());
    }
}
